<?php
 class FLEA_Db_Exception_PrimaryKeyExists extends FLEA_Exception { var $primaryKey; var $pkValue; function FLEA_Db_Exception_PrimaryKeyExists($pk, $pkValue = null) { $this->primaryKey = $pk; $this->pkValue = $pkValue; $code = 0x06ff004; $msg = sprintf(_ET($code), $pk, $pkValue); parent::FLEA_Exception($msg, $code); } } 